package cjh;

import java.awt.BorderLayout;
import java.awt.Panel;

import javax.swing.JPanel;
import javax.swing.JLabel;
import javax.swing.JTextField;
import javax.swing.JButton;
import java.awt.Dimension;
import javax.swing.BoxLayout;
import java.awt.Component;
import java.awt.GridLayout;
import javax.swing.JPasswordField;

// 학생정보수정
public class Stu_Edit extends JPanel {
	private JTextField textField_3;
	private JTextField textField_4;
	private JPasswordField passwordField;
	private JPasswordField passwordField_1;

	
	public Stu_Edit() {
		pn1();
		pn2();
		pn3();
		
		
	}
	

private void pn1(){
	setLayout(new BorderLayout(0, 0));
	JPanel infop = new JPanel();
	add(infop, BorderLayout.NORTH);
	
	JLabel infolab = new JLabel("학생 정보 수정");
	infop.add(infolab);
}
private void pn2(){
	JPanel panel = new JPanel();
	add(panel, BorderLayout.CENTER);
	panel.setLayout(new BorderLayout(0, 0));

	JPanel panel2 = new JPanel();
	panel.add(panel2, BorderLayout.CENTER);
	panel2.setLayout(new GridLayout(0, 2, 0, 0));
	
	JPanel panel_1 = new JPanel();
	panel2.add(panel_1);
	
	JLabel lblNewLabel = new JLabel("학번");
	panel_1.add(lblNewLabel);
	
	JPanel panel_2 = new JPanel();
	panel2.add(panel_2);
	
	JLabel lblNewLabel_6 = new JLabel("학번vo");
	panel_2.add(lblNewLabel_6);
	
	JPanel panel_3 = new JPanel();
	panel2.add(panel_3);
	
	JLabel lblNewLabel_1 = new JLabel("소속학과");
	panel_3.add(lblNewLabel_1);
	
	JPanel panel_4 = new JPanel();
	panel2.add(panel_4);
	
	JLabel lblNewLabel_7 = new JLabel("학과vo");
	panel_4.add(lblNewLabel_7);
	
	JPanel panel_5 = new JPanel();
	panel2.add(panel_5);
	
	JLabel lblNewLabel_2 = new JLabel("이름");
	panel_5.add(lblNewLabel_2);
	
	JPanel panel_6 = new JPanel();
	panel2.add(panel_6);
	
	JLabel lblNewLabel_8 = new JLabel("이름vo");
	panel_6.add(lblNewLabel_8);
	
	JPanel panel_7 = new JPanel();
	panel2.add(panel_7);
	
	JLabel lblNewLabel_3 = new JLabel("주소");
	panel_7.add(lblNewLabel_3);
	
	JPanel panel_8 = new JPanel();
	panel2.add(panel_8);
	
	textField_3 = new JTextField();
	panel_8.add(textField_3);
	textField_3.setColumns(10);
	
	JPanel panel_9 = new JPanel();
	panel2.add(panel_9);
	
	JLabel lblNewLabel_4 = new JLabel("전화번호");
	panel_9.add(lblNewLabel_4);
	
	JPanel panel_10 = new JPanel();
	panel2.add(panel_10);
	
	textField_4 = new JTextField();
	panel_10.add(textField_4);
	textField_4.setColumns(10);
	
	JPanel panel_11 = new JPanel();
	panel2.add(panel_11);
	
	JLabel lblNewLabel_5 = new JLabel("패스워드");
	panel_11.add(lblNewLabel_5);
	
	JPanel panel_12 = new JPanel();
	panel2.add(panel_12);
	
	passwordField = new JPasswordField();
	passwordField.setColumns(14);
	panel_12.add(passwordField);
	
	JPanel panel_13 = new JPanel();
	panel2.add(panel_13);
	
	JLabel label = new JLabel("패스워드확인");
	panel_13.add(label);
	
	JPanel panel_14 = new JPanel();
	panel2.add(panel_14);
	
	passwordField_1 = new JPasswordField();
	passwordField_1.setColumns(14);
	panel_14.add(passwordField_1);
	
	
}

private void pn3(){
	
	JPanel panel_3 = new JPanel();
	panel_3.setPreferredSize(new Dimension(10, 50));
	add(panel_3, BorderLayout.SOUTH);
	panel_3.setLayout(new BorderLayout(0, 0));
	
	JPanel panel_5 = new JPanel();
	panel_3.add(panel_5, BorderLayout.CENTER);
	
	JButton btnNewButton = new JButton("확인");
	panel_5.add(btnNewButton);

}


}

	
